//
//  AcceptFriendTableViewController.h
//  ShareNavigation
//
//  Created by 水木 傅 on 12-5-16.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FriendInfo.h"
#import "ASIHTTPRequest.h"

@interface AcceptFriendTableViewController : UITableViewController<NSXMLParserDelegate>

@property (nonatomic,retain) NSMutableArray *resultArray;
@property (nonatomic,retain) NSString *returnFindXML;
@property (nonatomic,retain) NSString *switchString;
@property (nonatomic,retain) FriendInfo *friendinfo;
@property (nonatomic,retain) NSString *currentUserID;

-(void) getData :(NSString *)userID;
-(void) requestDataFinished:(ASIHTTPRequest *)request;
-(void) requestDataFailed:(ASIHTTPRequest *)request;
-(void) analysisXML:(NSString *)xmlStr;
-(void) acceptFriendRequest:(NSString *)userID  acceptFriendID:(NSString *)friendID acceptIndex:(NSInteger)index;
-(BOOL) ignoreFriendInfo:(NSString *)uuid ignoreIndex:(NSIndexPath *)path;

- (IBAction)AcceptFriendButton:(id)sender;

@end
